package com.bcxj.servicemap;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.web.client.RestTemplate;

/**
 * ClassName: ServiceMapApplication
 * Package: com.bcxj.servicemap
 * Description:
 *
 * @Author BCXJ
 * @Create 2024/10/5 15:16
 * @Version 1.0
 * @Since 1.0
 */
@SpringBootApplication
@MapperScan("com.bcxj.servicemap.mapper")
public class ServiceMapApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceMapApplication.class);
    }


    @Bean
    public RestTemplate restTemplate() {
        return new RestTemplate();
    }
}
